#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;

#endregion

namespace TVC.Modules.Ddb
{
    public partial class frmInputData : Form
    {
        public String valuereturn = "";
        public String Type = "";
        public String Default = "";
        public frmInputData()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            valuereturn = txtInput.Text;
            DialogResult = DialogResult.OK;
            Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void frmInputData_Load(object sender, EventArgs e)
        {
            if (Default != "")
                txtInput.Text = Default;
        }
    }
}